<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人中心页面</title>
    <link rel="stylesheet" href="../assets/bootstrap/dist/css/bootstrap.css">
    <link rel="stylesheet" href="../css/userindex.css">
</head>
<body>
    <div CLASS="layout">
      <div class="header">
          <nav class="navbar navbar-default">
              <div class="container-fluid">
                  <!-- Brand and toggle get grouped for better mobile display -->
                  <div class="navbar-header">
                      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                          <span class="sr-only">Toggle navigation</span>
                          <span class="icon-bar"></span>
                          <span class="icon-bar"></span>
                          <span class="icon-bar"></span>
                      </button>
                      <a class="navbar-brand" href="#">copyright</a>
                  </div>
                  <!-- Collect the nav links, forms, and other content for toggling -->
                  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                      <ul class="nav navbar-nav">
                          <li class="active">
                              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">认证原创</a>
                              <ul class="dropdown-menu">
                                  <li><a href="./articleauthor.html">认证文章</a></li>
                                  <li><a href="./imageAuthor.html">认证图片</a></li>
                              </ul>
                          </li>
                          <li><a href="./balancelist.html">我的资产</a></li>
                          <li><a href="#">我的转载</a></li>
                          <li><a href="#">转载监测</a></li>
                          <li><a href="#">证据管理</a></li>
                      </ul>
                      <ul class="nav navbar-nav navbar-right">
                          <li><a href="#" class="glyphicon glyphicon-asterisk"></a></li>
                          <li><a href="#" class="glyphicon glyphicon-search"></a></li>
                          <li><a href="#" class="glyphicon ">DNA</a></li>
                          <li><a href="#" class="glyphicon glyphicon-user"> </a></li>
                          <li><a href="#">我的</a></li>
                      </ul>
                  </div>
              </div>
          </nav>
      </div>
      <div class="container">
           <div class="img_list">
               <ul>
                   <li><a href="javascript:;"><p>认证文章</p></a></li>
                   <li><a href="javascript:;"><span></span><p>认证图片</p></a></li>
                   <li><a href="javascript:;"><span></span><p>我的原创</p></a></li>
               </ul>
           </div>
           <div class="notice_list">
               <h3>系统公告</h3>
               <div class="line"></div>
               <ul>
                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线
                       </p>
                   </li>
                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>
                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>
                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>
                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>
                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>

                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>

                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>

                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>

                   <li>
                       <p>【产品更新】UI全新改版，重大功能齐上线</p>
                   </li>
               </ul>
           </div>
      </div>
    </div>
    <script src="../assets/jquery/jquery.js"></script>
    <script src="../assets/bootstrap/dist/js/bootstrap.js"></script>
    <script>
            $(function(){
                 var pdj={
                     init:function(){
                          this.checkUser();
                     },
                     checkUser:function(){
                          $.ajax({
                               url:"/session",
                               type:"get",
                               success:function(data){
                                   console.log(data);
                                   if(data.errno!=0){
                                          window.location.href="../";
                                    }
                               }
                          })
                     }

                 };
                 pdj.init();
            });
    </script>
</body>
</html>